package simpledb.transaction;

import java.lang.Exception;

/** Exception that is thrown when a transaction has aborted. */
public class TransactionAbortedException extends Exception {
    private static final long serialVersionUID = 1L;

    String s;

    public TransactionAbortedException(String s) {
        this.s = s;
    }

    @Override
    public String toString() {
        return "TransactionAbortedException{" +
                "s='" + s + '\'' +
                "} " + super.toString();
    }
}
